package me.zhengjie.modules.website.domain;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import me.zhengjie.base.BaseEntity;

import javax.persistence.*;

/**
 *
 *
 * @author system
 * @since 2024-11-06 15:51:43
 */
@Entity
@Data
@Table(name = "document_file" )
@ApiModel(value = "DocumentFile", description = " ")
public class DocumentFile  extends BaseEntity implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @Column(name = "id" )
    @Id
    @NotBlank(message = "【 】不能为空")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private String id;

    /**
     *
     */
    @Column(name = "file_name" )
    @NotBlank(message = "【 】不能为空")
    private String fileName;

    /**
     *
     */
    @Column(name = "publish_time" )
    @NotBlank(message = "【 】不能为空")
    private Date publishTime;

    /**
     *
     */
    @Column(name = "revision_time" )
    @NotBlank(message = "【 】不能为空")
    private Date revisionTime;


}